<template>
  <div class="home">
    <van-nav-bar fixed style="background-color: lightblue" title="新冠抗原检测综合服务系统"/>
    <main>
      <router-view></router-view>
    </main>
    <footer>
      <van-tabbar v-model="active">
        <van-tabbar-item icon="fire-o">
          <router-link to="/antigenHome" class="links">抗原服务</router-link>
        </van-tabbar-item>
        <van-tabbar-item icon="user-o">
          <router-link to="/individualHome" class="links">我的</router-link>
        </van-tabbar-item>
      </van-tabbar>
    </footer>
  </div>
</template>

<script>
export default {
  name: 'Home',
  data() {
    return {
      active: 0,
    }
  },
  methods: {}
}
</script>


